using System;
using System.Collections.Generic;
using System.Text;

namespace ServerManager.Network
{
    public class HandlerInvoker
    {
        private MessageType messageType;
        private HandlerMethod method;

        #region properties 
        public MessageType MessageType
        {
            get
            {
                return this.messageType;
            }
        }

        public HandlerMethod Method
        {
            get
            {
                return this.method;
            }
        }

        #endregion

        public HandlerInvoker(MessageType mt, HandlerMethod method)
        {
            this.messageType = mt;
            this.method = method;
        }
    }
}
